import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import store from "./store/index.js"
Vue.config.productionTip = false
App.mpType = 'app'
import {getdb,db} from "./static/utils/dbhelp1.js"
Vue.prototype.getdb = getdb
Vue.prototype.db = db
Vue.prototype.$store = store
Vue.prototype.$bus = new Vue()
const app = new Vue({
    ...App,store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif